package com.yanxml.spring.history.v3.demo7_deferred_import_selector.deferred_import_selector;

import org.springframework.context.annotation.DeferredImportSelector;
import org.springframework.core.type.AnnotationMetadata;

public class MyDeferredImportSelector implements DeferredImportSelector {

    @Override
    public String[] selectImports(AnnotationMetadata annotationMetadata) {
        System.out.println("MyDeferredImportSelector -----------");
        return new String[0];
    }

    @Override
    public Class<? extends Group> getImportGroup() {
        System.out.println("getImportGroup -----------");
        return DeferredImportSelector.super.getImportGroup();
    }
}
